package com.android.pdd.baseapp.adapter;

import com.android.pdd.baseapp.R;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.lg.meng.model.ClassItem;

import java.util.List;

public class ClassItemListAdapter extends BaseQuickAdapter<ClassItem, BaseViewHolder> {
    public ClassItemListAdapter(List<ClassItem> data) {
        super(R.layout.lib_item_class, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ClassItem item) {
        helper.setText(R.id.lib_tv_title, item.getTitle());
    }
    
}
